package mianyang.zhangsan.com.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mianyang.zhangsan.com.pojo.Score;
import mianyang.zhangsan.com.pojo.ScoreCustom;
import mianyang.zhangsan.com.pojo.ScoreStats;

import java.util.List;

public interface ScoreService {

    Page<Score> queryScoreByPage(int page, int size, int studentId, int courseId);

    ScoreCustom scorePackage(Score score, String username, String name);

    List<Score> queryCourseByStudentId(Integer studentId);

    void scoreAdd(Score score);

    void delete(int id);

    ScoreStats queryScoreStatsByCourseId(int courseId);

    List<Score> queryScoreByCourseId(int courseId);
}
